package com.dianxin.smartpark.service.device;

import com.chinatelecom.response.common.CommonResponseBody;
import com.dianxin.device.api.device.dto.SmartDeviceSettingsDTO;
import com.dianxin.device.api.device.qo.SmartDeviceRpcQO;

/**
 * @author wangkai
 */
public interface SmartParkDeviceSettingsService {

    /**
     * 保存
     * @param vo
     * @return
     */
    CommonResponseBody<Boolean> saveDeviceSettings(SmartDeviceSettingsDTO vo) throws Exception;

    /**
     * 更新
     * @param vo
     * @return
     */
    CommonResponseBody<Boolean> updateDeviceSettings(SmartDeviceSettingsDTO vo) throws Exception;


    /**
     * 更新
     * @param vo
     * @return
     */
    CommonResponseBody<Boolean> deleteDeviceSettings(SmartDeviceSettingsDTO vo) throws Exception;


    /**
     * 查询单个
     * @param qo
     * @return
     */
    CommonResponseBody<SmartDeviceSettingsDTO> getDevicesSettings(SmartDeviceRpcQO qo) ;
}
